package com.ruoyi.common.core.enums;

/**
 * 验证码类型
 *
 * @author Lion Li
 */
public enum OrderLogType {
    CreateOrder(0, "您有新的订单，等待买家付款"),
    OrderTurnProblemForSendGoodsOK(1, "订单出现问题,异常的变为'已发货'"),
    WaitSellerSendGoods(2, "买家已付款等待卖家发货"),
    InvalidOrder(3, "订单作废"),
    RiskControlOrder(4, "风控订单24小时"),
    PlaceOrderSuccess(5, "买家已付款，订单支付成功"),
    OutOrderSendGoodsOK(6, "订单没有进入系统，目前已发货或部分发货，待买家签收"),
    OutOrderFinish(7, "订单没有进入系统，目前已结束"),
    OutOrderTurnProblem(8, "订单没有进入系统，但变为了问题件"),
    OrderTurnProblemForFinish(9, "订单出现问题,异常的变为'已结束'"),
    OrderTurnProblem(10, "订单出现问题，变为问题件"),
    ProblemOrderTurnPlaceOrder(11, "问题单已解决，转为待付款订单"),
    ProblemOrderTurnRiskControlOrder(12, "问题单已解决，转为风控订单"),
    ProblemOrderTurnSendGoodsOrder(13, "问题单已解决，转为待发货订单"),
    ProblemOrderTurnSendGoodsOKOrder(14, "问题单已解决，转为已发货订单"),
    ProblemOrderTurnLastProcessOrder(15, "问题单已解决，转回正常订单流程"),
    ProblemOrderTurnFinishOrder(16, "问题订单已结束"),
    OrderTurnFinish(17, "订单已结束"),
    CaiNiaoOrderSendGoods(18, "菜鸟线路声明发货成功"),
    OfflineOrderSendGoods(19, "线下发货声明发货成功"),
    MySelfOrderSendGoods(20, "自发货声明发货成功"),
    EvaluationOrderSendGoods(21, "测评单声明发货成功"),
    NewProblem(22,"问题单转为其他问题" ),
    BuyerPaymentTimeout(23,"买家支付超时，订单关闭" ),
    DeclarationOfShipment(24, "订单快速声明发货成功"),
    SendGoodsOkOrderError(25, "已发货订单信息异常"),
    OrderGetInfoError(26, "订单拉取信息异常"),
    SuccessCreateLogisticsOrder(27, "创建ERP系统内线上物流订单成功"),
    inTheProcessOrderErrorFinish(28, "流程中订单异常结束，需处理"),
    OrderHandOver(29, "订单已菜鸟组包成功"),
    OrderHandOverArrived(30, "订单大包已在菜鸟仓接收成功"),
    DisputeResult(31, "纠纷已处理"),
    FindIssueOrder(32, "查找到纠纷订单，请处理"),
    OrderError(33, "订单出现异常，请处理"),
    SuccessCreateAeLogisticsOrder(34, "创建速卖通内线上物流订单成功"),
    SynchronizationCreateLogisticsOrder(35, "同步速卖通内线上物流订单成功"),

    HasBeenPurchase(1050, "该订单选择仓储发货"),

    OrderSelfShipping(111, "订单转为自发货"),
    FillInProcurementInformation(112, "该自发货订单已填完采购信息，待声明发货"),

    AlterOrderToBegin(100,"订单转为待提交审核"),
    SubmitOrder(101,"订单提交待发货审核"),
    SubmitOrderFail(102, "订单审核不通过"),
    FillInTracking(103,"同步国内运单号"),
    ModifyInTracking(1030,"修改国内运单号"),
    UploadProof(104,"上传采购凭证"),
    ModifyProof(1040,"修改采购凭证"),
    SendOutGoods(105,"订单已发货"),
    CreateOutWarehouseGoods(106, "订单已创建出库委托"),
    WaitCreateOutWarehouseGoods(1061, "订单待创建出库委托"),

    OutWarehouseGoods(107, "订单已出库"),
    KJXProcessingCompleted(1070, "骏捷订单已处理"),
    OrderNeedShipped(108, "订单待声明发货"),
    CancelOrder(901, "订单已作废"),
    CutOrderApplication(501, "订单提交截单申请"),
    CutOrderFail(502, "截单申请不通过"),
    CutOrderSuccess(503, "截单申请通过，已退款"),
    EvaluationOrder(110, "该订单已变为测评单"),

    SellerShipmentForCaiNiaoError(36, "菜鸟声明发货异常")
    ;

    private final Integer code;
    private final String info;

    OrderLogType(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

}
